import { http } from '@/utils/http/axios';

/**
 * 添加游戏主播
 * @param params
 */
export function addGameAnchor(params) {
    return http.request({
      url: '/system/game/anchor/add',
      method: 'POST',
      params,
    });
  }
  
  /**
   * 删除管理员用户
   */
  export function deleteGameAnchor(params) {
    return http.request({
      url: '/system/game/anchor/delete',
      method: 'POST',
      params,
    });
  }
  
  export function getGameAnchorList(params) {
    return http.request({
      url: '/system/game/anchor/all',
      method: 'post',
      params,
    });
  }
  
  export function updateGameAnchor(params) {
    return http.request({
      url: '/system/game/anchor/update',
      method: 'POST',
      params,
    });
  }
  export function getGameAnchorInfo(params) {
    return http.request({
      url: '/system/game/anchor/info',
      method: 'post',
      params,
    });
  }
  
  export function GameAnchorBindChan(params) {
    return http.request({
      url: '/system/game/anchor/bindChan',
      method: 'POST',
      params,
    });
  }